.editor{
  width: 100%;
  height: 300px;
  box-sizing: border-box;
  border: 1px solid #d9d9d9;

  :global{
    .ProseMirror{
      width: 100%;
      height: 100%;
      padding: 0 10px;
      box-sizing: border-box;
      overflow: hidden;
    }
  }
}